//账号信息ts类型
export interface ResponseData {
    code: number,
    message: string,
    ok: boolean,
}
//代表是一个账号的ts类型
export interface User {
    id?: number,
    createTime: string,
    username: string,
    password: string,
    name: string,
    phone: null,
    roleName: string,
}
//数组包含的全部的用户的信息
export type Records = User[];

export interface UserResponseData extends ResponseData {
    data: {
        records: Records,
        total: number,
        size: number,
        page: number,
        current: number,
    }
}
